; Test out the port feature

; Some NES ports
export port ppuControl = $2000
export port ppuMask = $2001
export port apuDmcFrequencey = $4010
export port apuFrameCounter = $4017

export sub main
	; Init code
	apuFrameCounter = $40
	apuDmcFrequencey = 0
	ppuControl = 0
	ppuMask = 0
end sub

export sub frame
end sub

export sub interrupt
end sub
